{% extends "base.html" %}

{% block title %}{{ section.title }}{% endblock %}

{% block content %}
{% if add.ad_type == "sell" %}
<b> Item Detail For Sale !!!!!!!!</b>
{% elif add.ad_type == "buy" %}
<b> Item Wanted !!!!!!!!</b>
{% endif %}
<div class="container" style="background-color: rgb(236, 247, 255); background-position: initial initial; background-repeat: initial initial;">
Title: {{add.ad_title}} <br>
Date: {{add.ad_latest_date}} <br>
<img src="/media/{{add.ad_image}}" style="background-color:green;height:100px;" /><br>
Description: {{add.ad_description}}<br>
Location: {{add.ad_location}} <br>
Price: {{add.ad_quoted_price}} <br>
Email: {{add.ad_email}} <br>
Posted By: {{add.ad_posted_by}}<br>
Mobile number: {{add.ad_mobileno}}
</div><br>
{% endblock %}


